package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购买短信对象 sms_purchase
 *
 * @author ruoyi
 * @date 2025-05-07
 */
@ApiModel("购买短信对象")
public class SmsPurchase extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 短信购买的唯一标识符，自动递增 */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 短信签名 */
    @ApiModelProperty("短信签名")
    @Excel(name = "短信签名")
    private String smsSignature;

    /** 签名内容，如果签名本身不足以描述，可以在这里添加详细内容 */
    @ApiModelProperty("签名内容")
    @Excel(name = "签名内容，如果签名本身不足以描述，可以在这里添加详细内容")
    private String signatureContent;

    /** 当前剩余短信数 */
    @ApiModelProperty("当前剩余短信数")
    @Excel(name = "当前剩余短信数")
    private Long remainingSmsCount;

    /** 手机号 */
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setSmsSignature(String smsSignature)
    {
        this.smsSignature = smsSignature;
    }

    public String getSmsSignature()
    {
        return smsSignature;
    }

    public void setSignatureContent(String signatureContent)
    {
        this.signatureContent = signatureContent;
    }

    public String getSignatureContent()
    {
        return signatureContent;
    }

    public void setRemainingSmsCount(Long remainingSmsCount)
    {
        this.remainingSmsCount = remainingSmsCount;
    }

    public Long getRemainingSmsCount()
    {
        return remainingSmsCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("smsSignature", getSmsSignature())
                .append("signatureContent", getSignatureContent())
                .append("remainingSmsCount", getRemainingSmsCount())
                .append("phone", getPhone())
                .toString();
    }
}
